package com.cn.shuangzi.ad.bean;


/**
 * Created by CN.
 */
public class YlhErrorInfo {
    private int price;
    private int reason;
    private String adnId = "2";//1 - 输给优量汇其它广告；2 - 输给第三方ADN（无需回传具体竞胜方渠道）；3 - 输给自售广告主；

    public YlhErrorInfo(int reason) {
        this.reason = reason;
    }

    public YlhErrorInfo(int price, int reason) {
        this.price = price;
        this.reason = reason;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getReason() {
        return reason;
    }

    public void setReason(int reason) {
        this.reason = reason;
    }

    public String getAdnId() {
        return adnId;
    }

    public void setAdnId(String adnId) {
        this.adnId = adnId;
    }

    @Override
    public String toString() {
        return "YlhErrorInfo{" +
                "price=" + price +
                ", reason=" + reason +
                ", adnId='" + adnId + '\'' +
                '}';
    }
}
